package com.tiecode.plugin.pvz;

import android.content.Context;

import com.tiecode.plugin.action.ActionController;
import com.tiecode.plugin.action.page.code.CodeBodyPageAction;
import com.tiecode.plugin.action.page.code.CodePageAction;
import com.tiecode.plugin.action.page.code.ProjectFilePageAction;
import com.tiecode.plugin.app.PluginApp;
import com.tiecode.plugin.pvz.action.PVZCodeBodyAction;
import com.tiecode.plugin.pvz.action.PVZCodePageAction;

public class PVZPlugin extends PluginApp {
    @Override
    public void onInitPlugin(Context context) {
        ActionController controller = new ActionController();
        controller.addAction(CodePageAction.class, new PVZCodePageAction());
        controller.addAction(CodeBodyPageAction.class, new PVZCodeBodyAction());
        setActionController(controller);
    }
}
